package com.genericdao.service;

import com.genericdao.intf.UserDao;
import com.genericdao.intf.UserService;
import com.genericdao.pojo.User;

/**
 * 
 * @author lin
 *
 */
public class UserServiceImpl extends BaseServiceImpl<User> implements UserService {
	
	private UserDao userDao;

	public UserDao getUserDao() {
		return userDao;
	}

	public void setUserDao(UserDao userDao) {
		this.userDao = userDao;
	}

	@Override
	public User findByName(String name) {
		
		userDao.findByName("JeanseLam");
		
		return null;
	}

}
